// Copyright (c) 2002 HTHK
//******************************************************************/
//Modification History
//******************************************************************/
//CR log no 1054: By Oscar Bai  Date:2003/02
//******************************************************************/
/*--------------------------------------------------------------
 * CRLOG	: CR1528
 * Fix		: User Profile Modificaitons 
 *			: - Add Company Code / Add Method to set/get UserMultiRole
 * By		: PH, HPMS
 * Date		: 02-Dec-2005
 *--------------------------------------------------------------
 */

package admin.system.user;

import java.util.Vector;

/**
 * A Class class.
 * <P>
 * @author HTHK
 */
public interface UserBean
{
    public void setAuthenticated(boolean authenticated);
    
    public boolean isAuthenticated();
    
    public void setUser_id(String user_id);

    public String getUser_id();

    public void setUser_name(String user_name);

    public String getUser_name();

    public void setUser_des(String user_des);

    public String getUser_des();

    public void setPasswd(String passwd);

    public String getPasswd();

    public void setPass_exp_date(String pass_exp_date);

    public String getPass_exp_date();

    public void setRole_id(String role_id);

    public String getRole_id();

    public void setCost_center_id(String cost_center_id);

    public String getCost_center_id();

    public void setEmail(String email);

    public String getEmail();

    public void setMobile(String mobile);

    public String getMobile();

    public void setStaff_id(String staff_id);

    public String getStaff_id();

    public void setActive(String active);

    public String getActive();

    public void setCrt_user(String crt_user);

    public String getCrt_user();

    public void setCrt_date(String crt_date);

    public String getCrt_date();

    public void setUpd_user(String upd_user);

    public String getUpd_user();

    public void setUpd_date(String upd_date);

    public String getUpd_date();
    
   //  CR log no 1054 begin of: Add new Function in Interface for new Field
    public void setInactive_date(String inactive_date);
    
    public String getInactive_date();
    
    public void setDeactivated_by(String deactivated_by);

    public String getDeactivated_by();

    public void setDeactivated_date(String deactivated_date);
    
    public String getDeactivated_date();

    //  CR log no 1054 end of
    // CR Log #: 1055   DATE: Jun 2003   BY: MLin
    
    // CR Description: To enable multi-company and JIS migration for SRS
    
    public void setRequest_group(String request_group);
    
    public String getRequest_group();


	/* CR1528 */
    public void setCompany_code(String cc);
	public String getCompany_code();

	public void setLogin_trial(String lt);
	public String getLogin_trial();

	//this.roles is not field in jis_s_user
	public void setRoles(Vector multirole);
	public Vector getRoles();
	public boolean isRole(String role);
	/* CR1528 */
}


